// 创建上下文环境
import {createStore,applyMiddleware} from "redux"
// 中间件
import reduxThunk from "redux-thunk"
import reduxLogger from "redux-logger"
// 获取状态
import reducer from "./reducer"

let store = createStore(reducer,applyMiddleware(reduxThunk,reduxLogger))
export default store